package com.nft.service.school.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nft.base.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value="SchoolPayrecordReq对象", description="支付信息入参")
@Accessors(chain = true)
public class SchoolPayrecordReq extends BaseQuery implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "所属校区")
    private Long schoolId;

    @ApiModelProperty(value = "学生ID")
    private Long studentId;

    @ApiModelProperty(value = "学生姓名")
    private String xsname;

    @ApiModelProperty(value = "学生电话")
    private String xsphone;

    @ApiModelProperty(value = "缴费金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "购买次数")
    private Long num;

    @ApiModelProperty(value = "剩余金额")
    private BigDecimal remainder;

    @ApiModelProperty(value = "记录老师ID")
    private Long teacherId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String phone;
}
